{% extends './base.html' %}
{% block title %}详情{% endblock %}
{% block header %}

{% endblock %}
{% block footer %}

{% endblock %}
{% block utils %}

{% endblock %}
{% block main %}
    <div class="row mt-2">
        <div class="col-md-12 bgc">
            <div class="new">
                <span><i class="iconfont icon-newstextarticle"></i></span>
                <span>{{ post.title }}</span>
                <small>Article</small>
            </div>
        </div>
    </div>

    <div class="row mt-2">
        <div class="col-md-12 bgc">
            <div class="article-title">
                <ul>
                    <li>
                        <a title="{{ post.author.username }}{{ post.pub_time|date:'Y-m-d H:M' }}发表"
                        ><i class="iconfont icon-time"></i>{{ post.pub_time|date:'Y-m-d H:M' }}</a
                        >
                    </li>
                    <li class="d-none d-sm-none d-md-none d-lg-block">
                        <a
                                href="#"
                                title="作者： {{ post.author.username }}"
                        ><i class="iconfont icon-user"></i>{{ post.author.username }}</a
                        >
                    </li>
                    <li>
                        <a title="已有 {{ post.like }} 个赞"><i class="iconfont icon-fire"></i>{{ post.like }}</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="row mt-2 bgc">
        <div class="article-body">{{ post.content|safe }}</div>
    </div>
{% endblock %}